code_checker.database.schema

Members

Functions

getSchemaVersion
long getSchemaVersion(Miniorm db)
Undocumented in source. Be warned that the author may not have intended to support it.
initializeDB
Miniorm initializeDB(AbsolutePath p)

Initialize or open an existing database.

makeUpgradeTable
UpgradeTable makeUpgradeTable()

Inspects a module for functions starting with upgradeV to create a table of functions that can be used to upgrade a database.

replaceTbl
void replaceTbl(Miniorm db, string src, string dst)
Undocumented in source. Be warned that the author may not have intended to support it.
updateSchemaVersion
void updateSchemaVersion(Miniorm db, long ver)
Undocumented in source. Be warned that the author may not have intended to support it.
upgrade
void upgrade(Miniorm db, UpgradeTable tbl)
Undocumented in source. Be warned that the author may not have intended to support it.
upgradeV0
void upgradeV0(Miniorm db)

If the database start it version 0, not initialized, then initialize to the latest schema version.

upgradeV1
void upgradeV1(Miniorm db)
Undocumented in source. Be warned that the author may not have intended to support it.
upgradeV2
void upgradeV2(Miniorm db)
Undocumented in source. Be warned that the author may not have intended to support it.
upgradeV3
void upgradeV3(Miniorm db)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

CompileDbTrackTable
struct CompileDbTrackTable
Undocumented in source.
DependencyFileTable
struct DependencyFileTable

Files that roots are dependent on. They do not need to contain mutants.

DependencyRootTable
struct DependencyRootTable
Undocumented in source.
FilesTbl
struct FilesTbl
Undocumented in source.
UpgradeTable
struct UpgradeTable
Undocumented in source.
VersionTbl
struct VersionTbl
Undocumented in source.

Variables

compileDbTrack
auto compileDbTrack;
Undocumented in source.
depFileTable
auto depFileTable;
Undocumented in source.
depRootTable
auto depRootTable;
Undocumented in source.
filesTable
auto filesTable;
Undocumented in source.
schemaVersionTable
auto schemaVersionTable;
Undocumented in source.

Meta

License

MPL-2

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Code copied from dextool